package com.qianfeng.missfood.bean;

import java.util.List;

public class GoodsItemEntity {

    /**
     * shop : {"distance":"15公里","shopName":"双林记","shopId":331,"sellerId":566,"chefNickname":"林女士","chefIcon":"http://image.mishi.cn/user/2014/1228/566_18667851-fac3-4cc3-aca4-9e03477c60ea@150h_150w_1e"}
     * goodsId : 3458
     * desc : 双林记肉饼 鲜味浓郁 汕头特产 健康美味 冰箱常备救急利器，保质期30天冷冻，真空包装。
     * categoryId : 6
     * unitComment : 斤
     * evaShow : {"thresholdValue":7,"evaCount":0,"score":0,"scoreDescriptionUrl":"http://h5.mishi.cn/h5/score-note.html","cssSwitch":1}
     * freePostage : false
     * activityCount : 0
     * category : {"id":6,"level":1,"name":"粮肉副食","pid":0}
     * evaScore : 0
     * price : 2500
     * shopId : 331
     * name : 双林记肉饼
     * soldCount : 0
     * favoriteNum : 49
     * picList : [{"position":1,"id":62879,"fileType":0,"desc":"肉饼是猪肉（8瘦2肥）做的，加了蒜头，鱼露，盐，以及不超过5%的生粉。","thumbUrl":"http://image.mishi.cn/item/2014/1228/0_8cd80ce3-e8d7-4a0c-8e8f-d154eb925db5@480h_480w_1e_70Q","isMain":true,"url":"http://image.mishi.cn/item/2014/1228/0_8cd80ce3-e8d7-4a0c-8e8f-d154eb925db5@640h_640w_1e_80Q"},{"position":2,"id":64738,"fileType":0,"desc":"肉饼的吃法，一般都是先进行切片，然后可以煮汤、煎炸，味道鲜美。","thumbUrl":"http://image.mishi.cn/item/2014/1230/3458_63f88759-c3df-4bf0-9234-a9f138d3f4a5@480h_480w_1e_70Q","isMain":false,"url":"http://image.mishi.cn/item/2014/1230/3458_63f88759-c3df-4bf0-9234-a9f138d3f4a5@640h_640w_1e_80Q"},{"position":3,"id":64739,"fileType":0,"desc":"真空包装。","thumbUrl":"http://image.mishi.cn/item/2014/1230/3458_093ee3cc-98d7-4217-857f-2378a01e3847@480h_480w_1e_70Q","isMain":false,"url":"http://image.mishi.cn/item/2014/1230/3458_093ee3cc-98d7-4217-857f-2378a01e3847@640h_640w_1e_80Q"},{"position":4,"id":74237,"fileType":0,"thumbUrl":"http://image.mishi.cn/item/2015/0108/3458_74fbe49a-a3c3-4a54-8092-98858b921690.jpg@480h_480w_1e_70Q","isMain":false,"url":"http://image.mishi.cn/item/2015/0108/3458_74fbe49a-a3c3-4a54-8092-98858b921690.jpg@640h_640w_1e_80Q"}]
     */
    private ShopEntity shop;
    private int goodsId;
    private String desc;
    private int categoryId;
    private String unitComment;
    private EvaShowEntity evaShow;
    private boolean freePostage;
    private int activityCount;
    private CategoryEntity category;
    private int evaScore;
    private int price;
    private int shopId;
    private String name;
    private int soldCount;
    private int favoriteNum;
    private List<PicListEntity> picList;

    public void setShop(ShopEntity shop) {
        this.shop = shop;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public void setUnitComment(String unitComment) {
        this.unitComment = unitComment;
    }

    public void setEvaShow(EvaShowEntity evaShow) {
        this.evaShow = evaShow;
    }

    public void setFreePostage(boolean freePostage) {
        this.freePostage = freePostage;
    }

    public void setActivityCount(int activityCount) {
        this.activityCount = activityCount;
    }

    public void setCategory(CategoryEntity category) {
        this.category = category;
    }

    public void setEvaScore(int evaScore) {
        this.evaScore = evaScore;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSoldCount(int soldCount) {
        this.soldCount = soldCount;
    }

    public void setFavoriteNum(int favoriteNum) {
        this.favoriteNum = favoriteNum;
    }

    public void setPicList(List<PicListEntity> picList) {
        this.picList = picList;
    }

    public ShopEntity getShop() {
        return shop;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public String getDesc() {
        return desc;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public String getUnitComment() {
        return unitComment;
    }

    public EvaShowEntity getEvaShow() {
        return evaShow;
    }

    public boolean isFreePostage() {
        return freePostage;
    }

    public int getActivityCount() {
        return activityCount;
    }

    public CategoryEntity getCategory() {
        return category;
    }

    public int getEvaScore() {
        return evaScore;
    }

    public int getPrice() {
        return price;
    }

    public int getShopId() {
        return shopId;
    }

    public String getName() {
        return name;
    }

    public int getSoldCount() {
        return soldCount;
    }

    public int getFavoriteNum() {
        return favoriteNum;
    }

    public List<PicListEntity> getPicList() {
        return picList;
    }

    public static class ShopEntity {
        /**
         * distance : 15公里
         * shopName : 双林记
         * shopId : 331
         * sellerId : 566
         * chefNickname : 林女士
         * chefIcon : http://image.mishi.cn/user/2014/1228/566_18667851-fac3-4cc3-aca4-9e03477c60ea@150h_150w_1e
         */
        private String distance;
        private String shopName;
        private int shopId;
        private int sellerId;
        private String chefNickname;
        private String chefIcon;

        public void setDistance(String distance) {
            this.distance = distance;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }

        public void setShopId(int shopId) {
            this.shopId = shopId;
        }

        public void setSellerId(int sellerId) {
            this.sellerId = sellerId;
        }

        public void setChefNickname(String chefNickname) {
            this.chefNickname = chefNickname;
        }

        public void setChefIcon(String chefIcon) {
            this.chefIcon = chefIcon;
        }

        public String getDistance() {
            return distance;
        }

        public String getShopName() {
            return shopName;
        }

        public int getShopId() {
            return shopId;
        }

        public int getSellerId() {
            return sellerId;
        }

        public String getChefNickname() {
            return chefNickname;
        }

        public String getChefIcon() {
            return chefIcon;
        }
    }






}